package com.pg_chat.mapper;

import com.pg_chat.model.UserEntity;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {

    UserEntity getUserById(int userId);
    UserEntity queryUserByName(String username);
    int updateUser(UserEntity user);
    int insertUser(UserEntity user);
    int deleteUser(UserEntity user);

}
